00001 00005 class OSGWindows; 00006 00007 class CommandRotate :public Command 00008 { 00009 private: 00010 00015 OSGWindows* osgwind_; 00016 00021 vector <TraffEduObject*> rotatedObjs_; 00022 00027 float angle_; 00028 00033 int rightCLK; 00034 00039 TraffEduObject* obj_; 00040 00041 public: 00042 00050 CommandRotate(float angle,OSGWindows* osgwind ); 00051 00060 CommandRotate(float angle,OSGWindows* osgwind ,TraffEduObject* obj); 00061 00066 bool execute(); 00067 00072 bool unexecute(); 00073 00074 };
1.4.6-NO